import _http from '@/utils/http'

export default {
    goodsCategoryListSimple(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goodsCategory/list/simple',
            apiName: '商品分类下拉-前置条件:商品类型id',
        }, params, loading, headers)
    },
    goodsTypeListSimple(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goodsType/list/simple',
            apiName: '商品类型下拉',
        }, params, loading, headers)
    },
    goodsBrandSimple(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goodsBrand/list/simple',
            apiName: '品牌分类下拉-前置条件:商品分类id',
        }, params, loading, headers)
    },
    goodsInfoAll(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goodsInfo/list/all',
            apiName: '所有商品下拉',
        }, params, loading, headers)
    },
    shopListAll(params, loading, headers) {
        return _http('post', {
            url: '/ums/manage/shop/listAll',
            apiName: '所有商户下拉',
        }, params, loading, headers)
    },
    manageOrderDown(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/order/qry/down',
            apiName: '下载',
        }, params, loading, headers)
    },
    manageOrderList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/order/qry/list',
            apiName: '分页列表查询',
        }, params, loading, headers)
    },
    goodsTypeSimple(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goodsType/list/simple',
            apiName: '商品类型下拉',
        }, params, loading, headers)
    },
    channelList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/channel/list',
            apiName: '上游平台',
        }, params, loading, headers)
    },
}
